<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<head>
<title>FINIAC | Finance Manager</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<link href="../css/styles.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.auto-style1 {
	text-align: left;
}
.auto-style2 {
	color: #741919;
}
-->
</style></head>

<body>
<table width="100%" border="0">
      <tr>
        <td><span class="Bredcrumbs">Stock&gt;&gt; Stock Status&gt;&gt;</span></td>
      </tr>
		<tr>
        <td valign="top" class="news"> 
		
		</td>
       </tr>
      <tr>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="10"><img src="../images/Tright_03_01.gif" width="9" height="29" /></td>
              <td background="../images/Tcenter.gif" class="body" ><div align="left">
				  <strong class="boxheader">Stock Status - - 25/ 5/ 2011</strong></div></td>
              <td width="13" ><img src="../images/Tright_1_01.gif" width="9" height="29" /></td>
            </tr>
            <tr>
              <td height="122" valign="top" background="../images/Tright_03_03.gif"></td>
              <td width="100%" valign="top" class="news"><table width="100%" height="211" border="0" cellpadding="0"
						cellspacing="0">
                <tr><td style="height: 18px"></td></tr>
                <tr>
                  <td height="35" colspan="6" valign="top" class="body">
				  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="auto-style1">
                	  <tr>
						  <td class="auto-style2">&nbsp;</td>
					  </tr>
                </table></td>
                </tr>
                <tr>
                  <td height="35" colspan="6" valign="top" class="body"><table width="100%" border="0" align="center" cellpadding="0"
								cellspacing="0">
                      <tr>
                        <td><img src="../images/01.gif" width="5" height="5" /></td>
                        <td width="100%" background="../images/02.gif"></td>
                        <td><img src="../images/03.gif" width="5" height="5" /></td>
                      </tr>
                      <tr>
                        <td width="5" background="../images/left.gif"></td>
                        <td valign="top"><table width="100%" cellspacing="1" cellpadding="2">
                            <tr>
                              <td height="25" class="row-odd" width="7%"><div align="center">Sl.No </div></td>
                              <td height="25" class="row-odd" align="center" style="width: 40%">
							  Item</td>
			      			  <td class="row-odd" align="center" style="width: 18%">
							  Item Code</td>
                              <td class="row-odd" align="center" style="width: 12%">
							  Quantity Available</td>
                              <td class="row-odd" width="12%">
							  <div align="center" style="height: 24px">Date Of 
								  Last Purchase</div></td>
                            
                            </tr>
      
                                 <c:forEach items="${productList}" var="product" varStatus="status">
								<tr id="record" class="<c:if test="${status.count % 2 == 0}">row-white</c:if><c:if test="${status.count % 2 == 1}">row-even</c:if>">
										
									<td  align="center" height="25">${status.count }</td>
									<td  align="center" style="width: 27%">${product.product}</td>
									<td  align="center"  style="width: 13%">${product.id }</td>
									<td  align="center" style="width: 10%">${product.qtyAvail}</td>
									<td  align="center"  style="width: 15%">${product.dateLastPurchase}</td>
									
								</tr>
							</c:forEach>
                                                  
                                
                                
                              
                            
                        </table></td>
                        <td width="5" height="30" background="../images/right.gif"></td>
                      </tr>
                  </table></td>
                  
                </tr>
                <tr>
                  <td height="5"><img src="../images/04.gif" width="5" height="5" /></td>
                  <td width="100%" background="../images/05.gif"></td>
                  <td><img src="../images/06.gif" /></td>
                </tr>
              </table>
				</td>
              <td valign="top" background="../images/Tright_3_3.gif" class="news"></td>
            </tr>
          
            <tr>
              <td><img src="../images/Tright_03_05.gif" width="9" height="29" /></td>
              <td width="100%" background="../images/TcenterD.gif"></td>
              <td><img src="../images/Tright_02.gif" width="9" height="29" /></td>
            </tr>
        </table></td>
      </tr>
    </table>
</body>
</html>